package cn.sollyu.SDManager;

import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import cn.sollyu.SDManger.R;

public class SharePreferencesService
{	
	private Context context;
	
	public SharePreferencesService(Context context) {
		this.context = context;
	}
	
	public String getSortBy() {
		SharedPreferences sharedPreferences =PreferenceManager.getDefaultSharedPreferences(context);
		 return sharedPreferences.getString(context.getString(R.string.set_activity_item_sort_by_key), context.getString(R.string.null_1)); 
	}
}
